package com.bac.rentmap.datastore;

public class EntityRestriction {
    private String kind;
    private Integer offset = 0;
    private Integer maxSize = 100;

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getMaxSize() {
        return maxSize;
    }

    public void setMaxSize(Integer maxSize) {
        this.maxSize = maxSize;
    }

    @Override
    public String toString() {
        return kind + "[" + offset + ", " + maxSize + "]";
    }
}
